package com.ruoyi.service.project.enums;

import java.util.Arrays;
import java.util.List;
import lombok.Getter;

/**
 * <p>
 * 作用：雇佣状态
 * </p>
 *
 * @author Zane
 * @since 2025-10-05 21:15
 */
@Getter
public enum HireStatusEnum {
  // 雇佣状态:0 待审核  1 招募通过(在岗)  2 招募驳回 3 离岗
  WAIT_AUDIT(0, "待审核"),
  HIRE_PASS(1, "招募通过"),
  HIRE_REJECT(2, "招募驳回"),
  HIRE_LEAVE(3, "离岗");
  /**
   * 编码
   */
  private final int code;
  /**
   * 描述
   */
  private final String desc;

  HireStatusEnum(int code, String desc) {
    this.code = code;
    this.desc = desc;
  }

  public  static List<Integer> getHiredStatus() {
    return Arrays.asList(HIRE_PASS.code,  HIRE_LEAVE.code);
  }
}
